FTP GET FILE

This command will allow you to use FTP PROCEED to grab.

  Syntax
FTP GET FILE Ftp Filename String
FTP GET FILE Ftp Filename String, Local Filename String, GrabInBits Flag
  Parameters
Ftp Filename String
String
Ftp filename string
Local Filename String
String
Local filename string
GrabInBits Flag
Integer
GrabInbits flag

  Returns

This command does not return a value.

  Description

The GrabInBits Flag allows you to specify the amount in bytes to be grabbed each time FTP PROCEED is called, thus controlling the rate and responsiveness of your application during download.

  Example Code
cls : print "DOWNLOAD FTP FILES"
if get ftp status()=1
print "Getting photos\db_photo_pack1.zip..." : sync
ftp set dir "photos"
ftp get file "db_photo_pack1.zip","photos.zip"
if get ftp failure()=0
print "FTP GET FILE Succeeded!"
else
print "FTP GET FILE Failed!"
endif
ftp set dir ".."
endif
  See also

FTP Commands Menu
Index